package com.p2p.common.redis.vo;

import java.io.Serializable;
import java.util.concurrent.TimeUnit;

public class RedisVo  implements Serializable{

	private String key;
	
	private String value;
	
	private Long validTime;
	
	private TimeUnit timeUnit;
	
	

	public Long getValidTime() {
		return validTime;
	}

	public void setValidTime(Long validTime) {
		this.validTime = validTime;
	}

	public TimeUnit getTimeUnit() {
		return timeUnit;
	}

	public void setTimeUnit(TimeUnit timeUnit) {
		this.timeUnit = timeUnit;
	}

	public RedisVo(String key, String value) {
		super();
		this.key = key;
		this.value = value;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
	
}
